package com.woniu.clientServer.feign;

import com.woniu.server.dto.PowerUserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(name = "uums-server", path = "/uumsServer")
public interface UumsFeign {

    @PostMapping("/queryByCode")
    PowerUserDto queryByCode(@RequestParam("code") String code);
}
